/* 表示一篇博客 */
.blog {
    width: 100%;
    padding: 10px 20px;
}

/* 博客的标题 */
.blog .title {
    color: black;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
}

/* 博客的摘要 */
.blog .desc {
    color: #000;
    text-indent: 2em;
    margin-top: 10px;
}

/* 博客的日期 */
.blog .date {
    color: #64a1f7;
    margin-top: 10px;
    text-align: center;
}

/* 按钮居中 */
.blog .mydiv {
    display: flex;
    justify-content: center;
}

/* 查看详情 按钮 */
.blog .detail {
    display: inline-block;
    justify-content: center;
    width: 120px;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
    color: white;
    background-color: #fa8497;
    text-align: center;
    text-decoration: none;
    margin: 10px auto 0 auto;
    border: 2px solid #f05972;

    /* 给颜色加上过渡效果 */
    transition: all 0.3s;
}

/* 查看详情按钮的鼠标 hover 效果 */
.blog .detail:hover {
    background-color: #f21539;
    color: #fff;
}

/* 查询个人博客的搜索框样式 */
#mysearch {
    height: 40px;
    margin-top: 10px;
    width: 100%;
    text-indent: 10px;
    border-radius: 10px;
    outline: none;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
}

/* 查询按钮 */
#mysearchbutton {
    display: inline-block;
    justify-content: center;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
    color: white;
    background-color: #fa8497;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    border: 2px solid #f05972;

    /* 给颜色加上过渡效果 */
    transition: all 0.3s;
}

/* 查询按钮文字效果 */
#mysearchbutton span {
    display: inline-block;
    text-align: left;
    font-weight: bold; /* 设置文字加粗 */
  }

/* 查询按钮过渡效果 */
#mysearchbutton:hover {
    background-color: #f21539;
    color: #fff;
}